/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.text.SimpleDateFormat;
/*    */ import java.util.Date;
/*    */ import java.util.Timer;
/*    */ import org.lwjgl.Sys;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class do
/*    */ {
/* 13 */   private static final SimpleDateFormat g = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"一键计时", "Time_Rua"})
/*    */   public static void v(int a) {
/* 17 */     long l1 = Sys.getTime();
/* 18 */     long l2 = System.currentTimeMillis();
/* 19 */     (new Timer("rua")).schedule(new oe(l1, l2), a);
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"取OpenGL时间", "Time_OpenGL"})
/*    */   public static double z() {
/* 31 */     return Sys.getTime();
/*    */   }
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"取当前时间", "Time_Current"})
/*    */   public static double v() {
/* 36 */     return System.currentTimeMillis();
/*    */   }
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"取当前时间格式化", "Time_Current_Format"})
/*    */   public static String v(String a) {
/* 41 */     if (!a.isEmpty()) {
/* 42 */       return (new SimpleDateFormat(a)).format(new Date());
/*    */     }
/* 44 */     return g.format(new Date());
/*    */   }
/*    */ 
/*    */   
/*    */   @eos/moe/dragoncore/t(v = {"格式化时间", "Time_Format"})
/*    */   public static String v(double a, String str) {
/* 50 */     if (!str.isEmpty()) {
/* 51 */       return (new SimpleDateFormat(str)).format(new Date((long)a));
/*    */     }
/* 53 */     return g.format(new Date((long)a));
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\do.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */